<?php include("../../core/connect.php");?>
<?php 
	$id=$_GET['id'];
	$table=$_GET['table'];
	$gia_tri_moi=$_GET['gia_tri_moi'];
	$tien_chua_tt=$_GET['tien_chua_tt'];
	$id_table=$_GET['id_table'];
	if($table='don_hang')
	{
		mysql_query("delete from donhang_ct where id='$id'");
	}
	if($table='hop_dong')
	{
		mysql_query("delete from hopdong_ct where id='$id'");
	}
?>

	